package com.bean;

import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="zanMessage")
public class ZanMessage {
	private String id;
	private String textTypes;//article
	private ObjectId objId;
	private User users;
	private String isDelete;
	private String createDate;
	private String comments;
	private String commentsMsgTypes;
	//private String zan_avatar;
	//private String zan_nickname;
	
	
	public String getId() {
		return id;
	}
	public ZanMessage(String textTypes, ObjectId objId,
			User users, String isDelete, String createDate) {
		super();
		this.textTypes = textTypes;
		this.objId = objId;
		this.users = users;
		this.isDelete = isDelete;
		this.createDate = createDate;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTextTypes() {
		return textTypes;
	}
	public void setTextTypes(String textTypes) {
		this.textTypes = textTypes;
	}
	public ObjectId getObjId() {
		return objId;
	}
	public void setObjId(ObjectId objId) {
		this.objId = objId;
	}
	public User getUsers() {
		return users;
	}
	public void setUsers(User users) {
		this.users = users;
	}
	public String getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public String getCommentsMsgTypes() {
		return commentsMsgTypes;
	}
	public void setCommentsMsgTypes(String commentsMsgTypes) {
		this.commentsMsgTypes = commentsMsgTypes;
	}
}
